<?php
$ms = "Shop";
$subMenu = "shop-menu.php";
include "header.php";
?>
<div class="cornerAll">
	<ul class="breadcrumb">
		<li><a href="index.php" class="fist_link">Home</a></li>
		<li><a href="shop.php" class="second_link">Shop</a></li>
		<li><a href="presses.php">Presses</a></li>
		<li><a href="presses.php">Heidelberg SM 52 - P</a></li>
	</ul>
	<div class="left">
		<h1>Feed Handwheel A-100</h1>
		<?php 
		
		
		$search = new Form();
		$search->addField("text","ID Number", "89416746842");
		$search->addField("select","Offered by", "Welcome Pacific Inc");
		$search->addField("text","Sup reference", "1428");
		$search->addField("text","Serial number", "MM20-212-315");
		$search->addField("select","Type", "Sticher");
		$search->addField("select","Make", "Heidelberg");
		$search->addField("select","Model", "52 - 2L");
		$search->addField("text","Year", "1985");
		$search->addField("text","Perfect", "n/a");
		$search->addField("select","Color", "6");
		$search->addField("select","Paper sheet size", "6");
		$search->addField("photo","Photo 1", "");
		$search->addField("photo","Photo 2", "");
		$search->addField("photo","Photo 3", "");
		$search->addField("photo","Photo 4", "");
		$search->addField("photo","Photo 5", "");
		$search->addField("photo","Photo 6", "");
		$search->addField("video","Video 1", "");
		$search->addField("video","Video 2", "");
		$search->addField("video","Video 3", "");
		$search->addField("combo","In stock");
		$search->button("Save");
		$search->draw();
		?>				
	</div>
	<div class="right">
		<h2>Press status</h2>
		<?php 
		$search = new Form();
		$search->addField("select","Status", "Consignment");
		$search->addField("text","Auction", "No");
		$search->addField("dollar","Buy Price", "100,000");
		$search->addField("dollar","Sell price", "150,000");
		$search->addField("select","Sell type", "CFR");
		$search->addField("date","Available from", "16th June 2010");
		$search->addField("date","First off date", "25th June 2010");
		$search->addField("select","Condition", "1");
		$search->addField("select","Location", "United Kingdom");
		$search->button("Save");
		$search->draw();
		?>
		<ul class="tab">
			<li class="tabs" id="note-tab">Notes (1)</li>
			<li id="offer-tab">Offers (0)</li>
		</ul>
		<div id="note">
			<div style="width:280px; margin-bottom:5px;">
				<textarea>Add note here</textarea>
			</div>
			<a style="float:right; margin-right:12px;" href="#" class="bt">Add</a>
			<div class="clear"></div>
			<div class="note">
				Speaking to a few people about this.  Let me know before you sell this as I may have promised out to someone.
				<div class="note-by">Jason Granite - 3 days ago</div>
			</div>
		</div>
		<div id="offer" style="display:none;">
			<a style="float:right; margin-right:12px;" href="#" class="bt">Add offer</a>
			<div class="clear"></div>
			<div style="width:280px; margin-bottom:5px;">
				<p>No offers on this press</p>
			</div>
		</div>
		<script>
		$('#note-tab').click(function() {
			$('#note-tab').toggleClass('tabs');
			$('#offer-tab').toggleClass('tabs');
  			$('#note').toggle();
  			$('#offer').toggle();
		});
		$('#offer-tab').click(function() {
			$('#note-tab').toggleClass('tabs');
			$('#offer-tab').toggleClass('tabs');
  			$('#note').toggle();
  			$('#offer').toggle();
		});

		function switchTab(){
		}
		</script>
	</div>
	<div class="clear"></div>
</div>
<?php  
include "footer.php";
?>